]> dgit.raspbian.org Git - gnome-shell.git/commit
bluetooth: Show the Bluetooth switch in more cases
authorBastien Nocera <hadess@hadess.net>
Thu, 15 Sep 2022 16:03:22 +0000 (18:03 +0200)
committerMarge Bot <marge-bot@gnome.org>
Sat, 17 Sep 2022 18:24:15 +0000 (18:24 +0000)
commit57aa91e2b3f129ff12c6f87146096708e9ac2867
tree101a83eeaec7f7ae931fe569def2f379c6a52737
parent13c9fd2a668e137b9e2569dcdedb0a25b95ae9aa
bluetooth: Show the Bluetooth switch in more cases

In older versions of GNOME, when a menu was used for Bluetooth devices,
we tried to avoid showing the Bluetooth menu to folks who didn't use
Bluetooth.

This kept causing problems as the menu would disappear if no
devices were setup and the platform "airplane mode" removed the
Bluetooth device from the USB bus, making it impossible to detect
whether a Bluetooth device existed, compared to a user unplugging a
removable Bluetooth device.

Closes: #5749
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2488>
js/ui/status/bluetooth.js